Conversation
|
@tomholub |
|
I think this implementation won't fix initial issue - currently My proposal here is to initialize |
👍 I've additionally still been seeing the "red button screen of death" (storage corrupted) view and had to reset storage just today. This may be one of the reasons. We should only initialize it once. |
It is possible but since Realm attaches to thread and we have different places where we use Realm, we have use one thread. So it should be either actor or queue and async facade, like we did for Google libraries. This could affect performance. |
Yeah, you're right - it'll be more complex than just re-initializing Realm on the same thread as current code. But maybe crashes from #1365 are already fixed by some other changes - I checked Testflight logs from Xcode and the last recorded crash was on February 1. Then on February 2 we merged #1331 to Also these crashes were related to However I noticed new crashes which appeared in |
Testflight crashes are not affected by what gets pushed to master, only by what is sent to apple for review (and what users end up using). I only upload new versions to apple around the time I make a versioned commit on master. Therefore, the lack of reports is not caused by any merged PR around that time. More likely, users that got crashes walked away and didn't try again, or the crash self-recovered on next app startup - hard to say. |
Thanks for having a look |
Then I think we should merge this PR with added |
|
ok |
close #1365
Tests (delete all except exactly one):
To be filled by reviewers
I have reviewed that this PR... (tick whichever items you personally focused on during this review):